package com.ruoyi.jiaopei.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 班级视图对象 tb_class
 *
 * @author macy
 * @date 2024-04-03
 */
@Data
@ExcelIgnoreUnannotated
public class TbClassVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String name;

    /**
     * 课程ID
     */
    @ExcelProperty(value = "课程ID")
    private Long curriculumId;
    private TbCurriculumVo curriculumVo;

    /**
     * 授课老师
     */
    @ExcelProperty(value = "授课老师")
    private Long teacherId;
    private SysUser teacherVo;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "class_state")
    private String state;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createdDate;


}
